package com.example.tnot.Teacher.CoursePart.adapter;

import java.util.List;

public class rv_MyTeachListItem {
    // 1. 替换：本地资源ID（int）→ 网络图片URL（String）
    private String course_image;  // 字段名保持与适配器一致
    private String course_name;
    private String course_teacher;


    private List<String> course_classes;

    // 2. 构造函数：参数改为String类型的图片URL
    public rv_MyTeachListItem(String course_image, String course_name,
                              String course_teacher, List<String> course_classes) {
        this.course_image = course_image;
        this.course_name = course_name;
        this.course_teacher = course_teacher;
        this.course_classes = course_classes;

    }

    // 3. Getter方法（保持原有字段名，适配适配器）
    public String getCourse_image() {
        return course_image;
    }

    public String getCourse_name() {
        return course_name;
    }

    public String getCourse_teacher() {
        return course_teacher;
    }

    public List<String> getCourse_classes() {
        return course_classes;
    }


}